import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:loxen/routes/routes.dart';

class CanCode extends StatefulWidget {
  @override
  _CanCodeState createState() => _CanCodeState();
}

class _CanCodeState extends State<CanCode> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.white,
        elevation: 0,
        title: Text(
          '收不到验证码',
          style: TextStyle(fontSize: 32.sp, color: Color(0xFF000000)),
        ),
        centerTitle: true,
        leading: GestureDetector(
          onTap: () {
            Navigator.pop(context);
            Navigator.of(context).pushNamed(Routes.forget);
          },
          child: Icon(
            Icons.arrow_back_ios,
            color: Color(0xFF000000),
          ),
        ),
//        leading: new Icon(Icons.),
      ),
      body: Padding(
        padding: EdgeInsets.fromLTRB(152.w, 148.8.h, 100.w, 46.h),
        child: ListView(
          children: <Widget>[
            Text("1.请检查是否输入正确的手机号",
                textAlign: TextAlign.left,
                style: new TextStyle(
                  color: Color(0xFF82868E),
                  fontSize: 28.sp,
                )),
            Text("2.检查手机是否停机",
                textAlign: TextAlign.left,
                style: new TextStyle(
                  color: Color(0xFF82868E),
                  fontSize: 28.sp,
                )),
            Text("3.请使用其他账号登陆",
                textAlign: TextAlign.left,
                style: new TextStyle(
                  color: Color(0xFF82868E),
                  fontSize: 28.sp,
                )),
            Text("4.请联系官方客服",
                textAlign: TextAlign.left,
                style: new TextStyle(
                  color: Color(0xFF82868E),
                  fontSize: 28.sp,
                )),
          ],
        ),
      ),
    );
  }
}
